﻿<?xml version="1.0" encoding="utf-8"?>
<Elements xmlns="http://schemas.microsoft.com/sharepoint/">
  <WorkflowActions>
    <Action Name="convert string to MultiLookupValue (SandBox), like 'value1;#1;#value3;#4;#value99;#6'"
            SandboxedFunction="true"
            Assembly="$SharePoint.Project.AssemblyFullName$"
            ClassName="EFSBWFActivities.getMultiLookupFromStringSB"
            FunctionName="Execute"
            AppliesTo="all"
            UsesCurrentItem="false"
            Category="EF Workflow Activities Sandboxed">
      <RuleDesigner Sentence="convert string to MultiLookupValue, reference list: %1, reference column: %2, input string: %3 store in %4">
        <FieldBind Field="ReferenceList" Text="List" DesignerType="ListNames" Id="1"/>
        <FieldBind Field="ReferenceColumn" Text="Title" DesignerType="TextArea" Id="2"/>
        <FieldBind Field="LookupString" Text="Lookup Input String" DesignerType="TextArea" Id="3"/>
        <FieldBind Field="MultiLookupValue" Text="Multi lookup value" DesignerType="ParameterNames" Id="4"/>
      </RuleDesigner>
      <Parameters>
        <Parameter Name="__Context" Type="Microsoft.SharePoint.WorkflowActions.WorkflowContext, Microsoft.SharePoint.WorkflowActions" Direction="In" />
        <Parameter Name="ReferenceList" Type="System.String, mscorlib" Direction="In" />
        <Parameter Name="ReferenceColumn" Type="System.String, mscorlib" Direction="In" />
        <Parameter Name="LookupString" Type="System.String, mscorlib" Direction="In" />
        <Parameter Name="MultiLookupValue" Type="System.String, mscorlib" Direction="Out" />
      </Parameters>
    </Action>
  </WorkflowActions>
</Elements>
